package online.heycm.rbac.param.basic;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 新增字典
 *
 * @author hey
 * @version 1.0
 * @date 2024/1/12 9:06
 */
@Data
public class DictionaryAddReq implements Serializable {

    private static final long serialVersionUID = -4541002628751592637L;

    /**
     * 字典别名
     */
    @NotBlank
    private String dicAlias;

    /**
     * 字段表
     */
    @NotBlank
    private String dicTable;

    /**
     * 字典列
     */
    @NotBlank
    private String dicColumn;

    /**
     * 字典列值
     */
    @NotBlank
    private String dicValue;

    /**
     * 字典语义
     */
    @NotBlank
    private String dicEnum;

    /**
     * 字典说明
     */
    @NotBlank
    private String remark;
}
